package com.qys.livesMall.anchor.model.dto.lives.app;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ExchangeGoldDTO {

    @Schema(description = "兑换金币数量")
    @NotNull(message = "请选择金币数量")
    @Min(message = "最低兑换数量为100金币", value = 100)
    private BigDecimal exchangeGoldQuantity;

    private Long userId;



}
